/*
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.aliyuncs.eci.model.v20180808;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;

/**
 * @author auto create
 * @version 
 */
public class DescribeImageCachesRequest extends RpcAcsRequest<DescribeImageCachesResponse> {
	   

	private String imageCacheId;

	private Long resourceOwnerId;

	private String snapshotId;

	private String imageCacheName;

	private String image;

	private String resourceOwnerAccount;

	private String ownerAccount;

	private Long ownerId;

	public DescribeImageCachesRequest() {
		super("Eci", "2018-08-08", "DescribeImageCaches", "eci");
		setMethod(MethodType.POST);
	}

	public String getImageCacheId() {
		return this.imageCacheId;
	}

	public void setImageCacheId(String imageCacheId) {
		this.imageCacheId = imageCacheId;
		if(imageCacheId != null){
			putQueryParameter("ImageCacheId", imageCacheId);
		}
	}

	public Long getResourceOwnerId() {
		return this.resourceOwnerId;
	}

	public void setResourceOwnerId(Long resourceOwnerId) {
		this.resourceOwnerId = resourceOwnerId;
		if(resourceOwnerId != null){
			putQueryParameter("ResourceOwnerId", resourceOwnerId.toString());
		}
	}

	public String getSnapshotId() {
		return this.snapshotId;
	}

	public void setSnapshotId(String snapshotId) {
		this.snapshotId = snapshotId;
		if(snapshotId != null){
			putQueryParameter("SnapshotId", snapshotId);
		}
	}

	public String getImageCacheName() {
		return this.imageCacheName;
	}

	public void setImageCacheName(String imageCacheName) {
		this.imageCacheName = imageCacheName;
		if(imageCacheName != null){
			putQueryParameter("ImageCacheName", imageCacheName);
		}
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
		if(image != null){
			putQueryParameter("Image", image);
		}
	}

	public String getResourceOwnerAccount() {
		return this.resourceOwnerAccount;
	}

	public void setResourceOwnerAccount(String resourceOwnerAccount) {
		this.resourceOwnerAccount = resourceOwnerAccount;
		if(resourceOwnerAccount != null){
			putQueryParameter("ResourceOwnerAccount", resourceOwnerAccount);
		}
	}

	public String getOwnerAccount() {
		return this.ownerAccount;
	}

	public void setOwnerAccount(String ownerAccount) {
		this.ownerAccount = ownerAccount;
		if(ownerAccount != null){
			putQueryParameter("OwnerAccount", ownerAccount);
		}
	}

	public Long getOwnerId() {
		return this.ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
		if(ownerId != null){
			putQueryParameter("OwnerId", ownerId.toString());
		}
	}

	@Override
	public Class<DescribeImageCachesResponse> getResponseClass() {
		return DescribeImageCachesResponse.class;
	}

}
